linux0.11 Source Analysis 1 bootsect.s file Analysis
from Power-on power-up to the process of performing the main functionSince the linux0.11 system was stored on a floppy disk, the main purpose of the power-adding process was to load the operating
1. Data Transmission instructions;
Ii. Arithmetic commands;
Iii. logical commands;
Iv. string processing commands;
5. control transfer instructions;
6. processor control commands.
(For details, see the full text)
I. Data Transmission instructions1.
Created:Article attributes: originalArticle submission: cheng5103 (cheng_5103_at_126.com)
Author: Cheng SonglinQQ: 179641795Email: cheng_5103@126.comNote: you are welcome to repost it. Please repost the original source and author information. It
Segment mechanism for easy experienceMemory Addressing:memory addressing in real mode:Let's start by reviewing the addressing in real modeSegment Header Address x16+ offset = Physical AddressWhy should x16. Because in 8086CPU, the address line is 20
One, data transfer instructions 1. Universal Data Transfer Instruction MOV (move) transfer push (push onto the stack) stack Pop (pop from stack) out of stack XCHG (Exchange) Exchange . The MOV instruction format is: MOVDST,SRC to perform the
Brief history of self-modified code
Self-modified code has a wide range of uses:
1. It was very difficult to use SMC (self-protection code) to protect applications 10 to 20 years ago, even if it was used to put compiled code into the memory.
2. the
After reading the ollydbg entry-level system (V)-message breakpoint and run tracking, how do I feel? Will there be the following problems:1. Do you think you don't know where to stop?2. Why is the disconnection like this?3. How can I determine the
Method 1
MoV eax, 0MoV EBX, 0MoV ECx, 0MoV edX, 0
Method 2
XOR eax, eaxXOR edX, EDXXOR ECx, ECxXOR edX, ECx
Method 3
Hmm... yep, here the stall is partially balanced by the non-change of the source argument (a work/branch avoided by the CPU),
CcrendertextureUnderstanding by yourself
Ccrendertexture is similar to a blank"Canvas", The user uses a custom brush(Ccsprite *), in the touch event, the movement trace of the brush is "recorded" to "Draw" a variety of artistic effects. The record
This procedure by foreign vulture eldest brother to write, and published the source code, this is his 95 years of a work, can say was very successful at that time!
This program is clever use of the constant changes in the coordinates, so as to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.